<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>点击事件</title>
    <style type="text/css">
        #sow{
            width: 200px;
            height: 200px;
            background-color: antiquewhite;
        }
    </style>
</head>
<body>
    <div id="app">
        <div v-show="sow" id="sow" style="display: none"></div>
        <button @click="btn">点击会有惊喜！！！</button>
    </div>

    <script src="vue.js"></script>
    <script src="jquery-1.8.3.js"></script>
    <script type="text/javascript">
        let vue = new Vue({
            el:"#app",
            data:{
                sow:false
            },
            methods:{
                btn:function(e){
                    this.sow = !this.sow;
                }
            }
        })
    </script>
</body>
</html>